package com.exam.service;


import com.exam.entity.DataDictionary;

import java.util.List;

public interface DataDictionaryService {

    //添加
    DataDictionary createDataDictionary(DataDictionary dataDictionary);

    //修改
    DataDictionary updateDataDictionary(Long id, DataDictionary dataDictionary);

    //删除
    void deleteDataDictionary(Long id);

    //查询
    DataDictionary getDataDictionary(Long id);

    //查询所有
    List<DataDictionary> getAllDataDictionaries();

}